package com.jumi.microservice.controller;

import com.jumi.microservice.common.base.BaseController;
import com.jumi.microservice.service.OssAuthService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author Administrator
 */

@Api(tags = {"oss图片鉴权"})
@RestController
@RequestMapping("/auth/oss")
public class OssAuthController extends BaseController {
    @Resource
    private OssAuthService ossAuthService;
    @GetMapping("/ossAuth")
    @ApiOperation("oss图片鉴权")
    public Object  ossAuth(){
        return success(ossAuthService.ossAuth());
    }

}
